const requst = ({url,data,method='post'})=>{
	return new Promise((resolve,reject)=>{
		uni.request({
			url: `https://jiu.tzapp.cn/`+url,
			method: method,
			data: data,
			success: res => {
				resolve(res)
			},
			fail: (error) => {
				reject(error)
			},
			complete: () => {}
		});
	})
}
export default requst	